package com.minimoment.model.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by etund on 2014/10/28.
 */
public class School implements Serializable{
    private Long id;
    private String schoolName;
    private Area area;
    private Set<SchoolBeauty> schoolBeauties = new HashSet<SchoolBeauty>();
    private Set<SchoolNews> schoolNewses = new HashSet<SchoolNews>();
    private Set<User> users  = new HashSet<User>();

    public Set<SchoolBeauty> getSchoolBeauties() {
        return schoolBeauties;
    }

    public void setSchoolBeauties(Set<SchoolBeauty> schoolBeauties) {
        this.schoolBeauties = schoolBeauties;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public Set<SchoolNews> getSchoolNewses() {
        return schoolNewses;
    }

    public void setSchoolNewses(Set<SchoolNews> schoolNewses) {
        this.schoolNewses = schoolNewses;
    }

    public Set<User> getUsers() {
        return users;
    }

    public void setUsers(Set<User> users) {
        this.users = users;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
}
